package com.lovefreedom.psi.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Purchase {
	private int id;
	private String type;
	private String code;
	private String remark;
	private Date date;
	private float payable;
	private float pay;	
	private Supplier supplier;	
	private Set<PurchaseGoods> purchaseGoods = new HashSet<PurchaseGoods>();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public float getPayable() {
		return payable;
	}
	public void setPayable(float payable) {
		this.payable = payable;
	}
	public float getPay() {
		return pay;
	}
	public void setPay(float pay) {
		this.pay = pay;
	}
	public Supplier getSupplier() {
		return supplier;
	}
	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}
	public Set<PurchaseGoods> getPurchaseGoods() {
		return purchaseGoods;
	}
	public void setPurchaseGoods(Set<PurchaseGoods> purchaseGoods) {
		this.purchaseGoods = purchaseGoods;
	}

}
